{$cms->tab_hoteldetail_top}
	{section name=nr loop=$hotels}
		{assign var=images value=array_merge($hotels[nr]->sharedImage, array())}
		<div class="tbhead1 mg-top_20 mg-btm_20">{$hotels[nr]->name}</div>
		<div class="subhead2">Duration: {$hotels[nr]->nights} Nights / {$hotels[nr]->days} Days     Meal Plan: {$hotels[nr]->mealplan}</div>
		<div class="grid_5 alpha mg-top_10"> 
			<div id="glry">
			  <ul>
				<li><img src="{$upload}{if !empty($images)}{$images[0].path} {/if}" width="380px" alt=""></li>		
			  </ul>
			</div>
		</div>
		{assign var=hotelfacilities value=array_merge($hotels[nr]->sharedFacility, array())}
		<div class="grid_5 mg-top_10 alpha"> 
			<h4 class="tit color2">Hotel Facilities</h4>
			<table class="nostyle va-middle" width="100%">
				<tr>
				{foreach from=$hotelfacilities key=k item=v}	
					{if $k  is div by 3}
				</tr>
				<tr>
						<td><img src="{$assets}images/facility/{$v->icon}" alt=""></td>
						<td>{$v->name}</td>	
					{else}
						<td><img src="{$assets}images/facility/{$v->icon}" alt=""></td>
						<td>{$v->name}</td>	
					{/if}
				{/foreach}		
				</tr>		
			</table>
		</div>
		<div class="clear"></div>
	{sectionelse}
		
	{/section}
{$cms->tab_hoteldetail_btm}
